package com.bizframework.security.dto;

import java.io.Serializable;

public class SystemModuleDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3768634823232550862L;

	private String key;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public Boolean getIsLeaf() {
		if (isLeaf == null) {
			return false;
		}
		return isLeaf;
	}

	public void setIsLeaf(Boolean isLeaf) {
		this.isLeaf = isLeaf;
	}

	public String getParentKey() {
		return parentKey;
	}

	public void setParentKey(String parentKey) {
		this.parentKey = parentKey;
	}

	private String text;

	private String value;

	private String link;

	private Boolean isLeaf;

	private String parentKey;
}
